# include<stdio.h>
int main()
{
	int a;
	double sum1=0,x;
	scanf("%lf",&x);
	for(a=1;a<=5;a++)
	{
		sum1=(sum1+1000)/(1+x*12);
	}
	printf("%.2lf",sum1);
	return 0;
}
